import os
import datetime
import time


def print_fulfillment_of_schedule():
    total_files_num = 0
    for frequency in ["1d"]:
        files = os.listdir(f'{frequency}/nav')
        total_files_num += len(files)
    while True:
        totoal_png_num = 0
        for frequency in ["1d"]:
            files = os.listdir(f'{frequency}/png')
            totoal_png_num += len(files)
        print(f"{datetime.datetime.now()},进度:文件总数:{total_files_num},png总数:{totoal_png_num}")
        time.sleep(10)


print_fulfillment_of_schedule()